home *** CD-ROM | disk | FTP | other *** search
- /* Tabberwocky
- Copyright (c) 2009 Frank Yan */
-
- @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
-
- #tabberwocky-selectedlinks description {
- margin: 0 !important;
- }
-
- tabbrowser[tabberwocky-hidenewtabbutton="true"] .tabs-newtab-button {
- visibility: collapse !important;
- }
-
- tabbrowser[tabberwocky-highlightunread="true"] tab:not([lastselected]) > .tab-text {
- font-style: italic !important;
- color: #c23 !important;
- }
-
- tabbrowser[tabprogressbar="true"] .tabbrowser-tab[locked="true"] .tab-real-text,
- tabbrowser:not([tabprogressbar="true"]) .tabbrowser-tab[locked="true"] .tab-text {
- outline: solid 1px !important;
- -moz-outline-radius: 8px !important;
- outline-offset: -1px !important;
- padding-left: 4px !important;
- }
-
- tabbox[dropindicator-hidden] .tab-drop-indicator-bar {
- display: none !important;
- }
-
-
- /* tab progress bar */
-
- tabbrowser[tabprogressbar="true"] tabs.tabbrowser-tabs label.tab-text {
- -moz-binding: url("chrome://tabber/content/tabber.xml#tab-label") !important;
- }
-
- #statusbar-progresspanel[tabprogressbar-hidden="true"] {
- visibility: collapse !important;
- }
-
- label.tab-text:not([tabprogressbar-progress]) > .tab-label-inner-box > .tab-progress {
- visibility: collapse;
- }
-
- label.tab-text > .tab-label-inner-box,
- label.tab-text > .tab-label-inner-box > .tab-progress,
- label.tab-text > .tab-label-inner-box > .tab-real-text {
- margin: 0;
- padding: 0;
- text-indent: 0;
- }
-
- label.tab-text > .tab-label-inner-box > .tab-progress {
- height: 3px;
- min-height: 3px;
- max-height: 3px;
- min-width: 0;
- -moz-appearance: none;
- border: none;
- outline: none;
- position: relative;
- margin-top: -4px;
- margin-bottom: 1px;
- margin-left: -24px;
- }
- tabs.tabbrowser-tabs:not([multirow="true"]) tab:not([selected="true"]):not(:hover) label.tab-text > .tab-label-inner-box > .tab-progress {
- height: 2px;
- min-height: 2px;
- max-height: 2px;
- }
-
- tabs.tabbrowser-tabs[closebuttons="alltabs"] label.tab-text > .tab-label-inner-box > .tab-progress,
- tabs.tabbrowser-tabs[closebuttons="activetab"] tab[selected="true"] label.tab-text > .tab-label-inner-box > .tab-progress {
- margin-right: -16px;
- }
- tabs.tabbrowser-tabs[closebuttons="alltabs"] tab[selected="true"][first-tab="true"][last-tab="true"] label.tab-text > .tab-label-inner-box > .tab-progress,
- tabs.tabbrowser-tabs[closebuttons="activetab"] tab[selected="true"][first-tab="true"][last-tab="true"] label.tab-text > .tab-label-inner-box > .tab-progress {
- margin-right: 0px;
- }
-
- label.tab-text > .tab-label-inner-box > .tab-progress,
- label.tab-text > .tab-label-inner-box > .tab-progress > .progress-bar,
- label.tab-text > .tab-label-inner-box > .tab-progress > .progress-remainder {
- -moz-appearance: none;
- }
-
- .tab-progress > .progress-bar {
- background-color: Highlight !important;
- }
-
-
- /* Tab Kit by John Mellor: protected tabs and multi-row tab bar */
-
- .tabbrowser-tab[protected="true"] .tab-close-button {
- display: -moz-box !important;
- list-style-image: url(chrome://browser/skin/Secure.png) !important;
- -moz-image-region: rect(1px, 15px, 15px, 1px) !important;
- cursor: pointer !important;
- }
-
- .tabbrowser-tabs[newatend] .tabs-newtab-button {
- margin-left: 0 !important;
- margin-right: 0 !important;
- }
- .tabbrowser-tabs[newatend] .tabbrowser-arrowscrollbox > .tabs-newtab-button {
- visibility: collapse !important;
- margin: 0 !important;
- padding: 0 !important;
- border: 0 !important;
- width: 0 !important;
- height: 0 !important;
- }
- tabbrowser:not([tabberwocky-hidenewtabbutton="true"]) .tabbrowser-tabs[newatend] .tabs-container > .tabs-newtab-button {
- visibility: visible !important;
- }
- .tabbrowser-tabs[multirow] .tabbrowser-arrowscrollbox .scrollbutton-up,
- .tabbrowser-tabs[multirow] .tabbrowser-arrowscrollbox .scrollbutton-down {
- display: none !important;
- }
- .tabbrowser-tabs[multirow="true"] {
- max-height: none !important;
- }
- .tabbrowser-tabs[multirow="true"] .tabbrowser-arrowscrollbox .scrollbox-innerbox {
- display: block !important;
- text-align: left !important;
- }
- .tabbrowser-tabs[multirow="true"][multirowscroll] .tabbrowser-arrowscrollbox .scrollbox-innerbox {
- overflow-y: auto !important; /* note that min/max-height will be set to 24*rows too */
- }
- .tabbrowser-tabs[multirow="true"] .tabbrowser-tab,
- .tabbrowser-tabs[multirow="true"] .tabs-container > :not(arrowscrollbox),
- .tabbrowser-tabs[multirow="true"] .tabs-container > stack > * {
- min-height: 24px !important;
- max-height: 24px !important;
- margin-top: 0 !important;
- margin-bottom: 0 !important;
- padding-top: 0 !important;
- }
- /* Center All Tabs button */
- .tabbrowser-tabs[multirow="true"] .tabs-container {
- -moz-box-align: end !important;
- }
- .tabbrowser-tabs[multirow="true"] .tabs-container > :not(arrowscrollbox),
- .tabbrowser-tabs[multirow="true"] .tabs-container > stack > * {
- padding-bottom: 0 !important;
- }
- /* Hide bottom border as it doesn't work graphically with multiple rows of tabs */
- .tabbrowser-tabs[multirow="true"] .tabs-bottom {
- display: none !important;
- }